<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.9/vue.js"></script>

<body>
    <!-- 指令
v-html
v-text
v-once
v-bind
v-if
v-else
v-else-if
v-for
v-model
v-cloak
v-on
-->
    <div class="box">

        <h1 v-on:click="click1">{{name1}}</h1>
    </div>

</body>
<script>
    let vm = new Vue({
        el: ".box",
        data: {
            name1: "aaaaa",
            name2: 2,
            name3: 3,
            name4: 4,
            h11: "1111",
        },
        methods: {
            click1() {
                el.innerText = binding.value.toUpperCase();
            }
        }
    })
</script>

</html>